You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > VectorInt Structure > VectorInt Methods > Ramp Method > VectorInt.Ramp Method ([In] double, [In] double, [In] int, [In] int)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
VectorInt.Ramp Method ([In] double, [In] double, [In] int, [In] int)

Fills the calling vector elements [Index]..[Index+Len-1].

Syntax
C#
Visual Basic
public TVecInt Ramp([In] double Offset, [In] double Step, [In] int Index, [In] int Len);

Method uses the following rule: 

 

Values[k] := Offset + k*Step.

 

 

An exception is raised if calling vector array borders are overrun.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!